package com.xyd.Entity;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class Commodity implements Serializable{
    private int commodity_id;
    private String  commodity_name;
    private String content;
    private int num;
    private float original_price;
    private float now_price;
    private String commod_id;
    private int  val_type;
    private String pic;
    private String productcolor;
    private String productbrand;
    private CommonTable commonTable;
    private String video;

    @Override
    public String toString() {
        return "Commodity{" +
                "commodity_id=" + commodity_id +
                ", commodity_name='" + commodity_name + '\'' +
                ", content='" + content + '\'' +
                ", num=" + num +
                ", original_price=" + original_price +
                ", now_price=" + now_price +
                ", commod_id='" + commod_id + '\'' +
                ", val_type=" + val_type +
                ", pic='" + pic + '\'' +
                ", productcolor='" + productcolor + '\'' +
                ", productbrand='" + productbrand + '\'' +
                ", commonTable=" + commonTable +
                '}';
    }
}
